package com.ynet.user.utils;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName
 * @Description
 * @Author liwq
 * @Date 2021/1/18 16:57
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ServiceResults<T> implements Serializable {
    private static final long serialVersionUID = 3765720967319047788L;

    public T result;
    public boolean success = true;
    public String errorMsg = "";
    public String errorCode = "0";
}
